import Vue from 'vue'
import App from './App.vue'
import VueParticles from 'vue-particles'



Vue.config.productionTip = false
// 引入路由
import router from './router'
// 引入element组件框架

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
// 引入Echarts
import echarts from 'echarts'


Vue.use(ElementUI);
Vue.use(VueParticles)
Vue.prototype.$echarts = echarts


import { LoginAPI } from '@/api'
const getToken = async () => {
  const res = await LoginAPI({
    username: 'admin',
    password: '123456'
  })
  console.log(res);
}
getToken()



new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
